﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SD.Entities;

namespace SD.IBUS
{
    public interface ISupportingMaterialBIZ
    {
        DataTable ListSupportingMaterial(Boolean includeInactive);

        DataTable ListByOrgId(string orgId, Boolean includeInactive);

        List<SupportingMaterial> GetAll(Boolean includeInactive);

        List<SupportingMaterial> GetByOrgId(string orgId, Boolean includeInactive);

        SupportingMaterial GetById(Guid smId);

        void Insert(SupportingMaterial sm);

        void Update(SupportingMaterial sm);

        void Delete(string smId);

        List<SupportingMaterial> SelectByOrgId(string orgId, int pageNumber, int pageSize, out int totalPages, bool includeInactive);
    }
}
